package com.kang.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kang.Vo.NoticeVo;
import com.kang.bean.Notice;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface NoticeMapper extends BaseMapper<Notice> {
    List<NoticeVo> getNew(String time);

    List<NoticeVo> getList(@Param("title") String title, @Param("adminName") String adminName, @Param("time") String time);
}
